Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933603AbaJ2PP0 (ORCPT ); Wed, 29 Oct 2014 11:15:26 -0400 Received: from mailrelay006.isp.belgacom.be ([195.238.6.172]:20143 "EHLO mailrelay006.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932962AbaJ2PPZ (ORCPT ); Wed, 29 Oct 2014 11:15:25 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMTAFADUVRXQzqR/2dsb2JhbABcgw6BLLoeBgEBAQEBBQF0mkEEAoEcFwEBAQEBfYQwLyOBGjeIRQG4R45vLIY1ilQdhDUFnWiWOIFHAYIxPC+CSwEBAQ From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Fabian Frederick , "Stephen M. Cameron" , "James E.J. Bottomley" , iss_storagedev@hp.com, linux-scsi@vger.kernel.org Subject: [PATCH 1/1 linux-next] hpsa: remove set but unused variable rc Date: Wed, 29 Oct 2014 16:15:04 +0100 Message-Id: <1414595704-3119-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix -Wunused-but-set-variable warning Signed-off-by: Fabian Frederick --- drivers/scsi/hpsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index cef5d49..34330e1 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -6619,11 +6619,11 @@ static void hpsa_free_cmd_pool(struct ctlr_info *h) static void hpsa_irq_affinity_hints(struct ctlr_info *h) { - int i, cpu, rc; + int i, cpu; cpu = cpumask_first(cpu_online_mask); for (i = 0; i < h->msix_vector; i++) { - rc = irq_set_affinity_hint(h->intr[i], get_cpu_mask(cpu)); + irq_set_affinity_hint(h->intr[i], get_cpu_mask(cpu)); cpu = cpumask_next(cpu, cpu_online_mask); } } -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/