diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2011-12-10 01:12:30 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-10 03:26:09 (GMT) |
commit | 188e664502dc47f83775a556e6db52cd8cc0b5fc (patch) | |
tree | 146739a24800d2e99ba018274bcf7aea508e1da9 /Makefile | |
parent | 153e38761d27f29edf436f11da3dbfb4fb8edcc1 (diff) | |
download | linux-fsl-qoriq-188e664502dc47f83775a556e6db52cd8cc0b5fc.tar.xz |
staging: line6: eliminate useless NULL checks
The line6 driver checks struct field addresses for NULL where it does
not make sense to do so. The struct has already been checked for NULL
and there is no value in checking the first field's address too.
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions