]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: toshiba: ps3_gelic_net.c: Cleaning up a check on a memory allocation
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 7 Jun 2014 10:22:08 +0000 (12:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 07:13:16 +0000 (00:13 -0700)
commit655aa393063b0cca03d1c4d1d2971b9b9770525b
treead240ed72dc0bbb69c7181e93f48e3f38c48fb72
parenta25aafaa5ba8ab267677615f821cb5d0303521e5
net: ethernet: toshiba: ps3_gelic_net.c: Cleaning up a check on a memory allocation

A check on a memory allocation is checked incorrectly.

This was partly found using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/ps3_gelic_net.c