[SLIP]: Simplify sl_free_bufs()
authorJesper Juhl <juhl-lkml@dif.dk>
Fri, 24 Jun 2005 04:06:56 +0000 (21:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2005 04:06:56 +0000 (21:06 -0700)
commit9b200b02a6c9cddca5132d64aa41156bbcddcbaa
tree4e326c4fbe9b502c621149cd384b8a9a98642b8e
parentd675c989ed2d4ba23dff615330b04371aea83534
[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>
drivers/net/slip.c