]> git.karo-electronics.de Git - linux-beck.git/commit
staging: unisys: virtpci: Remove GET_BUS_DEV macro
authorBryan Thompson <bryan.thompson@unisys.com>
Tue, 4 Nov 2014 21:13:17 +0000 (16:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Nov 2014 19:52:17 +0000 (11:52 -0800)
commit8f846b51632f54d9b6e842ee7fbbf23e2b10ace0
tree270aeb28db995fab10de133f5a6c250331aa6f92
parent2291b26874e41a68b036cd40d46501dc2ca9df02
staging: unisys: virtpci: Remove GET_BUS_DEV macro

The GET_BUS_DEV macro contained flow control statements that are undesirable.
This patch removes the macro and places the code in each function.

Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/virtpci/virtpci.c