sh: superhyway: Simplify check in remove callback
[sfrench/cifs-2.6.git] / drivers / sh / superhyway / superhyway.c
index c0ab904c76ec6b0c2dcbcc8c7bf3db672010e340..44324abe21dada902ab3920489d39a3b28aff798 100644 (file)
@@ -155,7 +155,7 @@ static void superhyway_device_remove(struct device *dev)
        struct superhyway_device *shyway_dev = to_superhyway_device(dev);
        struct superhyway_driver *shyway_drv = to_superhyway_driver(dev->driver);
 
-       if (shyway_drv && shyway_drv->remove)
+       if (shyway_drv->remove)
                shyway_drv->remove(shyway_dev);
 }