]> git.karo-electronics.de Git - mv-sheeva.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)
commitcce36444173b943f7b27e726ab38b3340cdebc41
treeab48a588fbe884863e99ff5e5c1dffed59ae35af
parentecb7390211fe9cb14ff0bae116a3f4f1149c0b6c
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