Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2817245pxy; Tue, 3 Aug 2021 16:27:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHGMMBazvmoRJBpGLxyF5Fu28qD/66PeY6CatTviptWOTPMkBwzyukn/tTnaVUguxgnKIa X-Received: by 2002:a17:906:1789:: with SMTP id t9mr23216112eje.61.1628033248566; Tue, 03 Aug 2021 16:27:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628033248; cv=none; d=google.com; s=arc-20160816; b=tyCIe3TIqAHg+X/YCLpwp0pV4gXoPcFYObEGgXUbMRrXWgMJPeDWJmRmx3PT/sfZDk QqpFfSfi32jKa40JDfu5oCfjwkyxKDzYOUgslnNX8u+xCmgI8gWVS/B1b0zJjBwjswgQ I8Eq1ZLlaDwe4eKzEsUrtz14a8RC9YEm2OwcbsrqN9t2IB4BRc8m+k5ePJeuj++znUSr eY3bfkn9jQLCfBKWI9B7ojxV5bibUWD+tpEpNjACUhuYwFOyS9ZEnHKAZJP2jZ2fDD/g Y57FTnxtukFzXkkg0J91dtHvCsVRUgqhbuOxoAuCZSq5Zti7gh/dVxgqlIW/d3GraDH4 FYtQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=f2qnxRAHlt+mQb2Qtxt+FnXyUaEtlvq7L7fwS/3o59s=; b=a1ASIrbDDINXaoZtdcioMsKSsluMLW3WfUWLwNr1xh+dyHeGFPU4t70Am1XiAq32W8 3+ihF7tT+hu9hfHmauVH4BEALo4MfxRaXbxh57hODMPe6U9ihJ9m9beSh3DjUnBCuWBy VdU6vwUsW8z/03CkHfLN18h8Yh7SL/8riKEoKL1paW8ZdaO0Yf4fP2fdrGveIAs7zs/o Gx5CE4DUFu8klJCoPHawLwlY1VBTvCZxcbuluwQdJFD72aKFomQ/t1nxYPDKX9EPsU2g 503iCgc1X4WS72B/41mA64hTQ60ZDGeWGhGUeqd+ivpiiKHi8anaXnL0wPDJH0+WXabg YvKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sAXwd2yV; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ka17si234253ejc.609.2021.08.03.16.27.03; Tue, 03 Aug 2021 16:27:28 -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=@kernel.org header.s=k20201202 header.b=sAXwd2yV; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232242AbhHCWg5 (ORCPT + 99 others); Tue, 3 Aug 2021 18:36:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:54284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233706AbhHCWgz (ORCPT ); Tue, 3 Aug 2021 18:36:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6B7E861029; Tue, 3 Aug 2021 22:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628030203; bh=hQ50CpAn7wAmW4WIyQJTFytEVNqrsX5q/ubUIcXjkgg=; h=From:To:Cc:Subject:Date:From; b=sAXwd2yVSeHKnfYXpLo0f4bKSUOd85VghAfY/zwkrp07hCFSHOaQHKhqRHCeV30fI yHJn5nXmYlqPGUw9CSNu5ySebChQtDRd7UwyArTCmbt5OdsdXPqUGjMuAI3wHwo8oz JJ+qzu7nrUQOb9iBBFgCAmPXUitt8DVKgMgJO8zoMAnUNiE4laeollNuUWw4fmzC7h K3iCAEy79Ee9tQlgVl1HnzTEqq4GI97yUw47jc2CwXU9OKTunaenCa6DfncRwjV+Ve L7v+p0bgVqJ5iS2pHHXEYwbWTtCGA+F3xYP2IE3re2MhscDH1wa/bl3ib8aRv/4Acv v+z0rR6PAImHg== From: Nathan Chancellor To: Greg Kroah-Hartman , Phillip Potter , Larry Finger Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor Subject: [PATCH 0/4] staging: r8188eu: Fix clang warnings Date: Tue, 3 Aug 2021 15:36:05 -0700 Message-Id: <20210803223609.1627280-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.0.rc0 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series cleans up all of the clang warnings that I noticed with x86_64 allmodconfig on the current staging-next. This has been build tested with both clang and gcc with x86_64 allmodconfig. Nathan Chancellor (4): staging: r8188eu: Remove _rtw_spinlock_free() staging: r8188eu: Remove unnecessary parentheses staging: r8188eu: Remove self assignment in get_rx_power_val_by_reg() staging: r8188eu: Remove pointless NULL check in rtw_check_join_candidate() drivers/staging/r8188eu/core/rtw_cmd.c | 2 - drivers/staging/r8188eu/core/rtw_mlme.c | 18 +---- drivers/staging/r8188eu/core/rtw_pwrctrl.c | 2 +- drivers/staging/r8188eu/core/rtw_recv.c | 11 --- drivers/staging/r8188eu/core/rtw_security.c | 4 +- drivers/staging/r8188eu/core/rtw_sta_mgt.c | 77 ------------------- drivers/staging/r8188eu/core/rtw_wlan_util.c | 2 +- drivers/staging/r8188eu/core/rtw_xmit.c | 19 ----- drivers/staging/r8188eu/hal/odm.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 2 - drivers/staging/r8188eu/hal/usb_halinit.c | 2 +- .../staging/r8188eu/include/osdep_service.h | 1 - drivers/staging/r8188eu/os_dep/os_intfs.c | 2 - .../staging/r8188eu/os_dep/osdep_service.c | 4 - 14 files changed, 9 insertions(+), 139 deletions(-) base-commit: 11e14fc3e49481b6322bbd976bb7dd2f0d7ef3d2 -- 2.33.0.rc0