diff options
author | Jesper Juhl <juhl-lkml@dif.dk> | 2005-06-23 21:06:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-23 21:06:56 -0700 |
commit | 9b200b02a6c9cddca5132d64aa41156bbcddcbaa (patch) | |
tree | 4e326c4fbe9b502c621149cd384b8a9a98642b8e /net/sctp/input.c | |
parent | d675c989ed2d4ba23dff615330b04371aea83534 (diff) | |
download | op-kernel-dev-9b200b02a6c9cddca5132d64aa41156bbcddcbaa.zip op-kernel-dev-9b200b02a6c9cddca5132d64aa41156bbcddcbaa.tar.gz |
[SLIP]: Simplify sl_free_bufs()
We can avoid assignments to the local variable 'tmp' and
actually get rid of tmp alltogether in sl_free_bufs(). This patch does
that. This is safe since both kfree() and slhc_free() handles NULL
pointers gracefully.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/input.c')
0 files changed, 0 insertions, 0 deletions