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>
This commit is contained in:
Robert P. J. Day 2011-04-21 10:00:18 +00:00 committed by Benjamin Herrenschmidt
parent ecb7390211
commit cce3644417
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ static int bsr_create_devs(struct device_node *bn)
static int __init bsr_init(void)
{
struct device_node *np;
dev_t bsr_dev = MKDEV(bsr_major, 0);
dev_t bsr_dev;
int ret = -ENODEV;
int result;