From: hayeswang Date: Fri, 16 Aug 2013 08:09:32 +0000 (+0800) Subject: r8152: remove clearing the memory to zero for netdev priv X-Git-Tag: v3.12-rc1~132^2~280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=197d439eec005564648ddd48a76ee5ddf4c15e80;p=profile%2Fcommon%2Fkernel-common.git r8152: remove clearing the memory to zero for netdev priv Remove memset(tp, 0, sizeof(*tp)); Signed-off-by: Hayes Wang Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index ef2498c..c13662b 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -2105,7 +2105,6 @@ static int rtl8152_probe(struct usb_interface *intf, SET_NETDEV_DEV(netdev, &intf->dev); tp = netdev_priv(netdev); - memset(tp, 0, sizeof(*tp)); tp->msg_enable = 0x7FFF; tasklet_init(&tp->tl, bottom_half, (unsigned long)tp);