diff options
| author | Wei Yongjun <[email protected]> | 2009-02-25 00:32:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2009-02-27 07:07:34 +0000 |
| commit | 40d44446cf10d9d118e8f0132c94e1f25ea3be97 (patch) | |
| tree | 5bf098f45d53c955792af9f85eda1ec123b1b3c4 /net/unix/af_unix.c | |
| parent | pktgen: remove some pointless conditionals before kfree_skb() (diff) | |
| download | kernel-40d44446cf10d9d118e8f0132c94e1f25ea3be97.tar.gz kernel-40d44446cf10d9d118e8f0132c94e1f25ea3be97.zip | |
unix: remove some pointless conditionals before kfree_skb()
Remove some pointless conditionals before kfree_skb().
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
| -rw-r--r-- | net/unix/af_unix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index d1b89820ab4f..baac91049b0e 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -1178,8 +1178,7 @@ out_unlock: unix_state_unlock(other); out: - if (skb) - kfree_skb(skb); + kfree_skb(skb); if (newsk) unix_release_sock(newsk, 0); if (other) |
