]> Git Repo - J-u-boot.git/commit
net: core: avoid possible NULL pointer dereference
author[email protected] <[email protected]>
Tue, 16 May 2017 03:07:01 +0000 (05:07 +0200)
committerJoe Hershberger <[email protected]>
Fri, 2 Jun 2017 19:44:19 +0000 (14:44 -0500)
commitc08248d601e939ababe1642d11be63d0c14c7d1a
treed7a9a4232cc9720b7f51129a10632e8e5c90d400
parent96d1d84c79b63e5882f09be451227f7145ea8599
net: core: avoid possible NULL pointer dereference

Checking if dev is NULL after dereferencing it does not make sense.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
net/eth-uclass.c
This page took 0.033435 seconds and 4 git commands to generate.