|
@@ -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);
|
|
|
if (!new)
|
|
|
return ERR_PTR(-ENOMEM);
|
|
|
spin_lock(&dasd_devmap_lock);
|