Tag: 8c080bd0a1f9f337add122e1c0252151a8f89c14

s390/pci: Deletion of unnecessary checks before the function call “debug_unregister”

Author: Markus Elfring <elfring@users.sourceforge.net> The debug_unregister() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky — arch/s390/pci/pci_debug.c | 7 ++—– 1 file changed, 2 insertions(+), 5 deletions(-)   diff –git a/arch/s390/pci/pci_debug.c …

Continue reading