On Tue, Mar 12, 2013 at 01:18:47PM +0800, Zhang Yanfei wrote: > remove cast for kzalloc return value.
[...] > diff --git a/drivers/s390/block/dasd_devmap.c > b/drivers/s390/block/dasd_devmap.c > index c196827..a71bb8a 100644 > --- a/drivers/s390/block/dasd_devmap.c > +++ b/drivers/s390/block/dasd_devmap.c > @@ -410,8 +410,7 @@ dasd_add_busid(const char *bus_id, int features) > struct dasd_devmap *devmap, *new, *tmp; > int hash; > > - new = (struct dasd_devmap *) > - kzalloc(sizeof(struct dasd_devmap), GFP_KERNEL); > + new = kzalloc(sizeof(struct dasd_devmap), GFP_KERNEL); Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/