staging: r8712u: Remove unneeded local variable in _malloc in osdep_service.h header
The variable 'pbuf' is not needed. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
268dfede46
commit
a2ac9d69d6
@@ -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)
|
||||||
|
Reference in New Issue
Block a user