Commit a2ac9d69 authored by Jesper Juhl's avatar Jesper Juhl Committed by Greg Kroah-Hartman

staging: r8712u: Remove unneeded local variable in _malloc in osdep_service.h header

The variable 'pbuf' is not needed.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 268dfede
...@@ -196,10 +196,7 @@ static inline void sleep_schedulable(int ms) ...@@ -196,10 +196,7 @@ static inline void sleep_schedulable(int ms)
static inline u8 *_malloc(u32 sz) static inline u8 *_malloc(u32 sz)
{ {
u8 *pbuf; return kmalloc(sz, GFP_ATOMIC);
pbuf = kmalloc(sz, GFP_ATOMIC);
return pbuf;
} }
static inline unsigned char _cancel_timer_ex(struct timer_list *ptimer) static inline unsigned char _cancel_timer_ex(struct timer_list *ptimer)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment