From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5F06C7EE24 for ; Wed, 17 May 2023 02:13:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x/QTgD+SJ7O6t8eXsGfxZi/PIyEdgSc0SrG4WYhoarw=; b=2CK0mQXDTk+FcS MdDbPjBD5BSO2i0b4t6UFsJz4S3ydYGFCWl9Jc85mH1A0tcdNn34DyWPDR0LP9y+vcVi+HgUm5UVI OVE5C+6mkDa9Glfq9G5kxv818DHV6GaemwBdouYEgx2lQdIw6UJq7sGaNivOZzICAfA7Ysj20E4oz lDm0Xxg6N7TZ65jmXUdV9e6JQu1ymasugYaglIg8CQJ9zP0iups5ilc7/p/FPgEr8VLCcL7tTVTNW RwnpNP2379ZPcyc7FlOKkjenbN/b1q0xEwXxOYiIeotqv9Kgkk8Ifntnt1jAtYSUeHNHCuMrjHMMC BfYW5416kDrVyJ2Ron3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pz6eu-007mvl-0R; Wed, 17 May 2023 02:12:56 +0000 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pz6er-007muT-0L; Wed, 17 May 2023 02:12:54 +0000 Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GJxV4C010609; Wed, 17 May 2023 02:12:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2023-03-30; bh=MOe2uol9J17qqL/F0q9NZdYXCm7Ki2SxuF7bX26mwEs=; b=3+jrSAqy7kMtV0Cgt+o6UjVuVNyNNo/m32YccaVkOXSJ3Ln3WLSD/V2AEPN0/IsYfWp1 0wUpZDEg1PiXRnu1rE5AcK+D1IJRjxISVJ2/oJJZP/oka7wAmlcm/FSOspH35+z+yu8a Q2nBzC27UvowAUEB92kGe8S8a1Rz9P3/A+Rby2uOWaSFk4WlswYw3yVYI8ww4ME4LpmS d32Rccy2r0BfA3Grm7sHyn/HVc1AVheXQuAVnbdASNNvbi0exqEtGEB8x08MTG5dLh2j s9kjfy2rJCuiumt31Yr8fKXv7rKSob2oOPT+2x3tlllzliDGMAG/q67HgpJhbg8qmZ8P lw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qj1fc4qgs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 May 2023 02:12:41 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34H1hGQF025011; Wed, 17 May 2023 02:12:40 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3qj104tw0c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 May 2023 02:12:40 +0000 Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34H2CdOA016064; Wed, 17 May 2023 02:12:40 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3qj104tw04-1; Wed, 17 May 2023 02:12:39 +0000 From: "Martin K. Petersen" To: Stanley Chu , Dan Carpenter Cc: "Martin K . Petersen" , "James E.J. Bottomley" , Matthias Brugger , AngeloGioacchino Del Regno , Andy Teng , linux-scsi@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] scsi: ufs: ufs-mediatek: delete some dead code Date: Tue, 16 May 2023 22:12:24 -0400 Message-Id: <168428950421.722180.7255235436045780552.b4-ty@oracle.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <68fce64f-4970-45f1-807e-6c0eecdfcdc2@kili.mountain> References: <68fce64f-4970-45f1-807e-6c0eecdfcdc2@kili.mountain> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_14,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 phishscore=0 mlxlogscore=863 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305170016 X-Proofpoint-ORIG-GUID: jtwOJvnf0hB-_vEEcFLgR0Q8ovdyZ_kD X-Proofpoint-GUID: jtwOJvnf0hB-_vEEcFLgR0Q8ovdyZ_kD X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_191253_166696_90083C37 X-CRM114-Status: GOOD ( 13.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 03 May 2023 13:40:59 +0300, Dan Carpenter wrote: > There is already a test for "if (val == state)" earlier so it's not > possible here. Delete the dead code. > > Applied to 6.5/scsi-queue, thanks! [1/1] scsi: ufs: ufs-mediatek: delete some dead code https://git.kernel.org/mkp/scsi/c/19c9322e36a0 -- Martin K. Petersen Oracle Linux Engineering _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel