We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a86f21 commit 796762fCopy full SHA for 796762f
drivers/gpu/drm/msm/msm_fbdev.c
@@ -136,13 +136,13 @@ static const struct drm_fb_helper_funcs msm_fb_helper_funcs = {
136
struct drm_fb_helper *msm_fbdev_init(struct drm_device *dev)
137
{
138
struct msm_drm_private *priv = dev->dev_private;
139
- struct msm_fbdev *fbdev = NULL;
+ struct msm_fbdev *fbdev;
140
struct drm_fb_helper *helper;
141
int ret;
142
143
fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL);
144
if (!fbdev)
145
- goto fail;
+ return NULL;
146
147
helper = &fbdev->base;
148
0 commit comments