Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -196,10 +196,7 @@ static inline void sleep_schedulable(int ms)

static inline u8 *_malloc(u32 sz)
{
	u8 *pbuf;

	pbuf =	kmalloc(sz, GFP_ATOMIC);
	return pbuf;
	return	kmalloc(sz, GFP_ATOMIC);
}

static inline unsigned char _cancel_timer_ex(struct timer_list *ptimer)