diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-11-30 03:43:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-01 12:57:32 -0500 |
commit | 4bd8b4de6f806f1429d23a2f6e2549ed0e8bc49b (patch) | |
tree | 3daab3d79bdb7c004af12eeb914fd372441b84f3 /drivers/net | |
parent | f75c0510784e9f6ce8808b01fb826d89d0ffbcd6 (diff) |
Staging: line6: NULL dereference in dev_err()
"line6" hasn't been set at this point and we should be using
&interface->dev instead.
Gcc would have complained about this if it weren't for the fact that we
initialized line6 to NULL. I removed the initialization.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions