]> git.baikalelectronics.ru Git - kernel.git/commit
Remove unreached code in drivers/net/mlx4/en_rx.c
authorDan Carpenter <error27@gmail.com>
Tue, 12 May 2009 10:33:39 +0000 (11:33 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 May 2009 14:38:09 +0000 (07:38 -0700)
commit6921c25cc1a997ac2e8efece177446eee25da4d0
tree902c27a0c5ea7f3ea7eb0c7f956c3aa03dfc6fd5
parent5fb687ff7d3d55da79cbf686db194315a86580d9
Remove unreached code in drivers/net/mlx4/en_rx.c

Remove the return after the goto.  We want the goto because it frees
memory as well as returning err.

Found by smatch (http://repo.or.cz/w/smatch.git).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/mlx4/en_rx.c