]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/ibmveth.c: memset fix
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Mon, 6 Aug 2007 21:44:03 +0000 (23:44 +0200)
committerJeff Garzik <jeff@garzik.org>
Tue, 7 Aug 2007 21:36:20 +0000 (17:36 -0400)
commit77cd4dab4c0668fffc6419af72d50437eb4d0358
tree34e295de896a8accf6ce47bfd39cb481d84b9d9e
parentdf1a82281f78795e8c386083537d202ed20d591a
drivers/net/ibmveth.c: memset fix

> >>  Looks like memset() is zeroing wrong nr of bytes.
> >
> > Good catch, however, I think we can just remove this memset altogether
> > since the memory gets allocated via kzalloc.
>
> Correct, that memset() is superfluous.

Ok. Then this should do it.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
 drivers/net/ibmveth.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ibmveth.c