staging: dgap: Remove useless cast on NULL
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Thu, 30 Oct 2014 12:53:11 +0000 (18:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 20:09:15 +0000 (13:09 -0700)
commitd8d34a817bc0041ba2f0ee09e40c18c7161e2c2d
tree18466c19c53bfc573db94473cbe2f62e06f26c8f
parentf811be139e9bcf014049d7aa93225a4dbea33c53
staging: dgap: Remove useless cast on NULL

Cast on NULL to a pointer type is not required. This
patch removes NULL casted to some pointer type.

The sematic patch used is:
@r@
type T;
@@
- (T *)NULL
+ NULL

Build tested it.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c