Re: brcm80211: Delete unnecessary checks before two function calls

2015-02-05 Thread Kalle Valo
> From: Markus Elfring > Date: Wed, 4 Feb 2015 20:28:49 +0100 > > The functions brcmu_pkt_buf_free_skb() and usb_free_urb() test whether > their argument is NULL and then return immediately. Thus the test around > the call is not needed. > > Signed-off-by: Markus Elfring Thanks, applied to

Re: brcm80211: Delete unnecessary checks before two function calls

2015-02-05 Thread Kalle Valo
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 4 Feb 2015 20:28:49 +0100 The functions brcmu_pkt_buf_free_skb() and usb_free_urb() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. Signed-off-by: Markus Elfring

[PATCH] net: brcm80211: Delete unnecessary checks before two function calls

2015-02-04 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 4 Feb 2015 20:28:49 +0100 The functions brcmu_pkt_buf_free_skb() and usb_free_urb() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. Signed-off-by: Markus Elfring ---

[PATCH] net: brcm80211: Delete unnecessary checks before two function calls

2015-02-04 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 4 Feb 2015 20:28:49 +0100 The functions brcmu_pkt_buf_free_skb() and usb_free_urb() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. Signed-off-by: Markus Elfring