[S390] cio: remove casts from/to (void *).
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
committed by
Martin Schwidefsky
parent
e7769b48a0
commit
12975aef62
@@ -177,7 +177,7 @@ get_subchannel_by_schid(struct subchannel_id schid)
|
||||
struct device *dev;
|
||||
|
||||
dev = bus_find_device(&css_bus_type, NULL,
|
||||
(void *)&schid, check_subchannel);
|
||||
&schid, check_subchannel);
|
||||
|
||||
return dev ? to_subchannel(dev) : NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user