]> Git Repo - linux.git/commit
fs/char_dev.c: remove pointless assignment from __register_chrdev_region()
authorJan Kara <[email protected]>
Wed, 10 Dec 2014 23:42:10 +0000 (15:42 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Dec 2014 01:41:04 +0000 (17:41 -0800)
commite2ab879e96b5e65bf8ce1123f3b7f01ebba27204
tree3e6cf53bad0c170e1bb9b72435c68ba9edaa24cf
parentb3e3e5af60e0fda182e978f568cc512568c024cf
fs/char_dev.c: remove pointless assignment from __register_chrdev_region()

At one place we assign major number we found to ret.  That assignment is
then never used and actually doesn't make any sense given how the code is
currently structured (the assignment comes from pre-git times).  Just
remove it.

Coverity id: 1226852.

Signed-off-by: Jan Kara <[email protected]>
Cc: Alexander Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/char_dev.c
This page took 0.049932 seconds and 4 git commands to generate.