Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp997314pxb; Wed, 29 Sep 2021 14:29:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBtuPNYYVv8CZcsnJ9ejTEfeTmrqykLsBr+RFe/aoW+PJlM5Ozhvpi6KRqpydokC9XKWyo X-Received: by 2002:a17:906:24d8:: with SMTP id f24mr2495257ejb.404.1632950969015; Wed, 29 Sep 2021 14:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632950969; cv=none; d=google.com; s=arc-20160816; b=YHpbH0R/H/qFM2vqNIYiPTiVOymubKUFQurhib4b/Gze5YdAkajXpoC9fB1Jz//YeH Zsc+tfTh+sDzudsfoJna0BRxFbcuGQgLmtc5WQ5AGjL0gK8VjSGquFK3nMmQWWzyD2+e f5zmBSxoztKubApmYyk/Hlc7ZEhXQYz9lHIjfJ1dJgZJhXeJp7BA3fRDUAECAdK+jERd qpJo5sj126k9qngZMes/64oJzg+GJO47YJLo/Z/YP8IKUS70PMcI2xLv8ETqettEhRdC Xyc5NEaf612fHH5bLukLW3cMszkkIYXV17zdpfZHSAq2g0mPowICWTBiCyG28YI9/mCb /TzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ILAT+2o+6gqhrlieIGJMKpWSNQBv8ibrXFHSWep9zww=; b=QvScsoAtmkXHhLpdGhgMD/LkF1JVNbQKQPyfnfS3DHLc7oSiqDKjJykyy8QvBpqlXP qcvfkwHtIw6qMgEbKEWt8hpnI5tyq27gNrPhJEwZL3TQ2zBzvuHxiJgmg6DuTNPdbDg6 8YHuoOznMEBscboYkeSXwgR7PsynIM02F/biSkPQuOZz1kvVRiqR0YJTRpCAaA6Q63w5 2+aLmuXVb8uOicL7hJc4uPulnLtDrC2LO6TqQca0GbUk2D5W9J6mDSEJPEZ3Czn8FD/I diR4ANMnTUBZ5F1L98BwYVB46NhtJ9rNpUcbeP3oKBUy+mEWbfQ5a27NDhFliUFD1Z+w VscQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kkXwZ4tu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s1si1622373ejn.348.2021.09.29.14.29.05; Wed, 29 Sep 2021 14:29:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kkXwZ4tu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346562AbhI2UIu (ORCPT + 99 others); Wed, 29 Sep 2021 16:08:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346376AbhI2UIh (ORCPT ); Wed, 29 Sep 2021 16:08:37 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69AC0C061765; Wed, 29 Sep 2021 13:06:55 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id g19-20020a1c9d13000000b003075062d4daso2614909wme.0; Wed, 29 Sep 2021 13:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ILAT+2o+6gqhrlieIGJMKpWSNQBv8ibrXFHSWep9zww=; b=kkXwZ4tuBzkPLfkam+0iYfk/xFCF4zYV05sN0zvCBctbewdth5CnvCTTby4fdt/Cpb MYDNJxpx6oFgBw8BQZ6uGEgHYwN7K61Abvo6dYoRscpx0msKVFq3k5a2m1Fhhx4bg8LK FahAm/Hf2bEE3mT18vzRDnklNvzIbr/bgnRLDH4zZxAcN4UBn5mIiKL8LJHM091EdxnU oU9qOWQa5AAM3NL0la97yrek5LbvSmLUvyFuq460YB8RoeY0cBPt9RMVtfE+pB0Lwu1R y0PR4uB4CHEbNIZh1a2lFs0andfWLi9lWCUoqojfBTTeYaKivU6U5ihOf7i/OvXhdS2l cosw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ILAT+2o+6gqhrlieIGJMKpWSNQBv8ibrXFHSWep9zww=; b=bEKlfluTzHebKFaZaYh31FoOiaPFtU0+C1snNB/3mG6tLGYeFN3fC+85IBpYxuyuMa Bc5SQI+GkaR1jpFSmiXKM6B5weoUuVUBadNCmD3CVWFR9/dAmteV379+UUXgcdHc1irL TrE5GYL/bNTy6NGbP/ANeckZDUd/qivzXoMMIYwPvBcQLtB1t7RsSJqFpt+UIt6+uxzJ JJZ9PFCuZJj2ZW9pvVUF6Iq68kY/wo9P59paDik8SMFJELuEnwvYzS3eiwSkgRmOj3no iCGxYWxJCzJkJotpmFqefYkD/jRo39fvp2YAx49fmon42LaZN9syHeLgefmdp5VLuGyJ rgAg== X-Gm-Message-State: AOAM532qg+HLZTPDCp3Er97b1jgi3+rWUYLwMRTJkcbsnCpyyjUdLHlr 3OYz+6ewGFn6DTPw0yKlweo= X-Received: by 2002:a1c:1d13:: with SMTP id d19mr1892206wmd.89.1632946014130; Wed, 29 Sep 2021 13:06:54 -0700 (PDT) Received: from ubuntu-laptop.speedport.ip (p200300e94717cf3fe089f40c55d147be.dip0.t-ipconnect.de. [2003:e9:4717:cf3f:e089:f40c:55d1:47be]) by smtp.gmail.com with ESMTPSA id l17sm910405wrx.24.2021.09.29.13.06.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Sep 2021 13:06:53 -0700 (PDT) From: Bean Huo To: alim.akhtar@samsung.com, avri.altman@wdc.com, asutoshd@codeaurora.org, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, cang@codeaurora.org, daejun7.park@samsung.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/3] scsi: ufs: core: Remove return statement in void function Date: Wed, 29 Sep 2021 22:06:40 +0200 Message-Id: <20210929200640.828611-4-huobean@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929200640.828611-1-huobean@gmail.com> References: <20210929200640.828611-1-huobean@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo return statement is not useful at the end of "void" function. Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 081092418e2d..2f0366c3cbf8 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -5845,7 +5845,6 @@ static void ufshcd_exception_event_handler(struct work_struct *work) ufs_debugfs_exception_event(hba, status); out: ufshcd_scsi_unblock_requests(hba); - return; } /* Complete requests that have door-bell cleared */ -- 2.25.1