]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/bsr: Remove redundant initialization of bsr dev_t declaration.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Thu, 21 Apr 2011 10:00:18 +0000 (10:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 May 2011 06:02:40 +0000 (16:02 +1000)
commit142a42c1bf5af06d4db09162ce7b535a86f98d6c
treeab48a588fbe884863e99ff5e5c1dffed59ae35af
parent3e6d869d59d88adaf86d3f9be0a151694fb3032b
powerpc/pseries/bsr: Remove redundant initialization of bsr dev_t declaration.

Remove the unnecessary initialization of "dev_t bsr_dev" since it's
subsequently used in an "alloc_chrdev_region()" call which uses that
variable in an output-only fashion.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/bsr.c