Skip to content

Commit

Permalink
drm: fix return value in auth function
Browse files Browse the repository at this point in the history
This just fixes up the return value in the drm_auth:remove_magic

Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Dave Airlie committed Sep 21, 2006
1 parent 7981bf7 commit 572225b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/drm/drm_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static int drm_remove_magic(drm_device_t * dev, drm_magic_t magic)

drm_free(pt, sizeof(*pt), DRM_MEM_MAGIC);

return -EINVAL;
return 0;
}

/**
Expand Down

0 comments on commit 572225b

Please sign in to comment.