staging: dgrp: fix some warnings
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Oct 2012 16:21:03 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 22:44:30 +0000 (15:44 -0700)
commit720a9bece0c132a9095e997969f07d8694816bbc
treeed6191135ba3b3806c2e7508f264f7c9f34d609c
parent69afc09042290807b4a8d2756f1fc3b49ff269ee
staging: dgrp: fix some warnings

Just squashing these to get them out of the analysis queue.

nd_ps_desc is an array not a pointer so comparing it with NULL is silly (be
nice if gcc shouted about this). And there are some slightly pointless
comparisons too.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgrp/dgrp_dpa_ops.c
drivers/staging/dgrp/dgrp_net_ops.c
drivers/staging/dgrp/dgrp_sysfs.c