From 6033798121e154005cd537c192729025c9da8901 Mon Sep 17 00:00:00 2001 From: Gregory CLEMENT Date: Thu, 15 Jan 2015 15:09:35 +0100 Subject: [PATCH] ata: libahci: Clean-up the ahci_platform_en/disable_phys functions The phy_ functions handle the NULL pointer case, so there is no need to skip them if there is a NULL pointer. Moreover, after the error label there is already no check on the pointer. This patch removes the unnecessary tests and brings some consistency. Signed-off-by: Gregory CLEMENT Acked-by: Hans de Goede Signed-off-by: Tejun Heo --- Reading git-format-patch failed