diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2006-10-11 15:31:47 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-10-11 15:31:47 +0200 |
commit | 12975aef62836e9f3e179afaaded8045f8a25ac4 (patch) | |
tree | 719a2622de3bd09d11372b535a7fba98aeedb50e /drivers/s390/cio/chsc.c | |
parent | e7769b48a0216d7262fe2ba59b1b3697be462cbb (diff) | |
download | kernel_samsung_aries-12975aef62836e9f3e179afaaded8045f8a25ac4.zip kernel_samsung_aries-12975aef62836e9f3e179afaaded8045f8a25ac4.tar.gz kernel_samsung_aries-12975aef62836e9f3e179afaaded8045f8a25ac4.tar.bz2 |
[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>
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r-- | drivers/s390/cio/chsc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c index eabe018..2d78f0f 100644 --- a/drivers/s390/cio/chsc.c +++ b/drivers/s390/cio/chsc.c @@ -370,7 +370,7 @@ __s390_process_res_acc(struct subchannel_id schid, void *data) struct res_acc_data *res_data; struct subchannel *sch; - res_data = (struct res_acc_data *)data; + res_data = data; sch = get_subchannel_by_schid(schid); if (!sch) /* Check if a subchannel is newly available. */ @@ -444,7 +444,7 @@ __get_chpid_from_lir(void *data) u32 isinfo[28]; } *lir; - lir = (struct lir*) data; + lir = data; if (!(lir->iq&0x80)) /* NULL link incident record */ return -EINVAL; @@ -628,7 +628,7 @@ __chp_add(struct subchannel_id schid, void *data) struct channel_path *chp; struct subchannel *sch; - chp = (struct channel_path *)data; + chp = data; sch = get_subchannel_by_schid(schid); if (!sch) /* Check if the subchannel is now available. */ |