On Mon, May 15, 2017 at 10:07 PM, Heinrich Schuchardt
wrote:
> Checking if dev is NULL after dereferencing it does not make sense.
Yes, it was incorrect, but fortunately it was never used for anything,
so even though it's garbage if the dev is NULL, at least we didn't use
it for anything in that
Checking if dev is NULL after dereferencing it does not make sense.
Signed-off-by: Heinrich Schuchardt
---
net/eth-uclass.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index c3cc3152a2..b659961a5d 100644
--- a/net/eth-uclass.c
+++ b/n
2 matches
Mail list logo