kernel/drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk20a.c
.. .. @@ -81,9 +81,5 @@ 81 81 gk20a_ibus_new(struct nvkm_device *device, int index, 82 82 struct nvkm_subdev **pibus) 83 83 { 84 - struct nvkm_subdev *ibus;85 - if (!(ibus = *pibus = kzalloc(sizeof(*ibus), GFP_KERNEL)))86 - return -ENOMEM;87 - nvkm_subdev_ctor(&gk20a_ibus, device, index, ibus);88 - return 0;84 + return nvkm_subdev_new_(&gk20a_ibus, device, index, pibus);89 85 }