kernel/drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gp10b.c
.. .. @@ -51,9 +51,5 @@ 51 51 gp10b_ibus_new(struct nvkm_device *device, int index, 52 52 struct nvkm_subdev **pibus) 53 53 { 54 - struct nvkm_subdev *ibus;55 - if (!(ibus = *pibus = kzalloc(sizeof(*ibus), GFP_KERNEL)))56 - return -ENOMEM;57 - nvkm_subdev_ctor(&gp10b_ibus, device, index, ibus);58 - return 0;54 + return nvkm_subdev_new_(&gp10b_ibus, device, index, pibus);59 55 }