alpha: squash lines for immediate return
Remove unneeded variables and assignments. While we are here, fix the coding style of SMC37c669_read_config(): - replace whitespaces at the start of lines with tabs - remove unneeded whitespaces around parentheses Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
committed by
Matt Turner
parent
236d62b03a
commit
203308a5d1
@ -379,11 +379,7 @@ alloc_pci_controller(void)
|
||||
struct resource * __init
|
||||
alloc_resource(void)
|
||||
{
|
||||
struct resource *res;
|
||||
|
||||
res = alloc_bootmem(sizeof(*res));
|
||||
|
||||
return res;
|
||||
return alloc_bootmem(sizeof(struct resource));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user