[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)
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>

No differences found