From: Valentin Vidic Date: Thu, 18 May 2017 13:50:14 +0000 (-0300) Subject: [media] atomisp: drop unused qos variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=76d041f276abd29bb7b29b1d847acec36249c9ab;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] atomisp: drop unused qos variable Fixes a sparse warning: drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c:35:5: warning: symbol 'qos' was not declared. Should it be static? Signed-off-by: Valentin Vidic Signed-off-by: Greg Kroah-Hartman Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c b/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c index a6c0f5f8c3f8..b01463361943 100644 --- a/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c +++ b/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c @@ -32,7 +32,6 @@ static DEFINE_SPINLOCK(msgbus_lock); static struct pci_dev *pci_root; static struct pm_qos_request pm_qos; -int qos; #define DW_I2C_NEED_QOS (platform_is(INTEL_ATOM_BYT))