Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752959AbbGVWRk (ORCPT ); Wed, 22 Jul 2015 18:17:40 -0400 Received: from mx0a-0016ce01.pphosted.com ([67.231.148.157]:31177 "EHLO mx0a-0016ce01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752041AbbGVWRj convert rfc822-to-8bit (ORCPT ); Wed, 22 Jul 2015 18:17:39 -0400 From: Himanshu Madhani To: Spencer Baugh , Chad Dupuis , Giridhar Malavali , Saurav Kashyap , "James E.J. Bottomley" , linux-scsi , linux-kernel CC: Joern Engel , Spencer Baugh , Joern Engel Subject: Re: [PATCH] qla2xxx: remove unused rval Thread-Topic: [PATCH] qla2xxx: remove unused rval Thread-Index: AQHQxMsGzFLyiHxq1Ee/wBTUnfNwk53oDseA Date: Wed, 22 Jul 2015 22:17:24 +0000 Message-ID: References: <1437602898-15229-1-git-send-email-sbaugh@catern.com> In-Reply-To: <1437602898-15229-1-git-send-email-sbaugh@catern.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [10.1.4.10] disclaimer: bypass Content-Type: text/plain; charset="us-ascii" Content-ID: <001E24BE52029443A7F9842C3F125A87@qlogic.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5700 definitions=7870 signatures=670613 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1506180000 definitions=main-1507220322 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1673 Lines: 55 On 7/22/15, 3:08 PM, "Spencer Baugh" wrote: >From: Joern Engel > >We don't touch the return value of qla2x00_loop_resync in >qla2x00_do_dpc, so don't bother collecting it. Fixes a compiler warning. > >Signed-off-by: Joern Engel >Signed-off-by: Spencer Baugh >--- > drivers/scsi/qla2xxx/qla_os.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c >index a28815b..b9ee115 100644 >--- a/drivers/scsi/qla2xxx/qla_os.c >+++ b/drivers/scsi/qla2xxx/qla_os.c >@@ -4793,7 +4793,6 @@ qla2x00_disable_board_on_pci_error(struct >work_struct *work) > static int > qla2x00_do_dpc(void *data) > { >- int rval; > scsi_qla_host_t *base_vha; > struct qla_hw_data *ha; > >@@ -5025,7 +5024,7 @@ loop_resync_check: > if (!(test_and_set_bit(LOOP_RESYNC_ACTIVE, > &base_vha->dpc_flags))) { > >- rval = qla2x00_loop_resync(base_vha); >+ qla2x00_loop_resync(base_vha); > > clear_bit(LOOP_RESYNC_ACTIVE, > &base_vha->dpc_flags); >-- >2.5.0.rc3 > >-- >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/ Acked-by: Himanshu Madhani > -- 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/