kernel/drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gm200.c
.. .. @@ -32,9 +32,5 @@ 32 32 gm200_ibus_new(struct nvkm_device *device, int index, 33 33 struct nvkm_subdev **pibus) 34 34 { 35 - struct nvkm_subdev *ibus;36 - if (!(ibus = *pibus = kzalloc(sizeof(*ibus), GFP_KERNEL)))37 - return -ENOMEM;38 - nvkm_subdev_ctor(&gm200_ibus, device, index, ibus);39 - return 0;35 + return nvkm_subdev_new_(&gm200_ibus, device, index, pibus);40 36 }