Re: [PATCH 42/56] drivers/s390: Remove void casts

From: Jack Stone
Date: Thu Apr 09 2009 - 06:23:51 EST


[Added maintainer CCs]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
> ---
> drivers/s390/net/qeth_core_main.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c
> index c827d69..454e181 100644
> --- a/drivers/s390/net/qeth_core_main.c
> +++ b/drivers/s390/net/qeth_core_main.c
> @@ -1037,7 +1037,7 @@ static int qeth_is_1920_device(struct qeth_card *card)
> QETH_DBF_TEXT(SETUP, 2, "chk_1920");
>
> ccwdev = card->data.ccwdev;
> - chp_dsc = (struct channelPath_dsc *)ccw_device_get_chp_desc(ccwdev, 0);
> + chp_dsc = ccw_device_get_chp_desc(ccwdev, 0);
> if (chp_dsc != NULL) {
> /* CHPP field bit 6 == 1 -> single queue */
> single_queue = ((chp_dsc->chpp & 0x02) == 0x02);
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/