mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e80e28b6b6
commit
cc59853b4a
@ -49,7 +49,7 @@ static char __iomem *get_virt(unsigned int seg, unsigned bus)
|
||||
return pci_mmcfg_virt[0].virt;
|
||||
|
||||
/* Fall back to type 0 */
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn)
|
||||
|
Loading…
Reference in New Issue
Block a user