aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-02-24 19:12:09 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-27 02:07:29 -0500
commitd46604e178f01305e63564864517926bb752d4a3 (patch)
treef13a4eae40dc7ef6b84f72efebb2af636063b53a /drivers/isdn/capi
parente44578ea7c4f87462e05e0d0a2dd43b6beecd5f6 (diff)
isdn: remove some pointless conditionals before kfree_skb()
Remove some pointless conditionals before kfree_skb(). Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/capi')
-rw-r--r--drivers/isdn/capi/capi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c
index 1b5bf87c4cf4..3e468d2cf730 100644
--- a/drivers/isdn/capi/capi.c
+++ b/drivers/isdn/capi/capi.c
@@ -277,7 +277,7 @@ static void capiminor_free(struct capiminor *mp)
277 list_del(&mp->list); 277 list_del(&mp->list);
278 write_unlock_irqrestore(&capiminor_list_lock, flags); 278 write_unlock_irqrestore(&capiminor_list_lock, flags);
279 279
280 if (mp->ttyskb) kfree_skb(mp->ttyskb); 280 kfree_skb(mp->ttyskb);
281 mp->ttyskb = NULL; 281 mp->ttyskb = NULL;
282 skb_queue_purge(&mp->inqueue); 282 skb_queue_purge(&mp->inqueue);
283 skb_queue_purge(&mp->outqueue); 283 skb_queue_purge(&mp->outqueue);