Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp27608ybi; Thu, 13 Jun 2019 11:01:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFXPHP3dR+01li+HKE1c5jB9RM0zlnVIFSZMFxM/vx8RIQqRzng6kWVHkBpoFemkMRu61M X-Received: by 2002:a63:dc50:: with SMTP id f16mr15624073pgj.447.1560448904132; Thu, 13 Jun 2019 11:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560448904; cv=none; d=google.com; s=arc-20160816; b=i0xrWP+tBj0suVOFAeJw8zfSQXrbAcSmeeKuyXHJdgDDeiL9DX8rL12IFXqokKe0Ta bMTyXoRTf+9vlcCb4gmuVevaNMPHefob28YrydYQJLmRHYiCYi7Axpp9nWpyEp4+HjFu J8WZOlc6+h1sfQIVhEqtwFtuO5M27EWPqxgGSifUSeKLdRHAYdoDVhMAZ+I7Aknnoe1U uJLf3JGfmTE+5512takMZgMZSdyRxbvXSHQJJ96mCcnUFzSogkrLwqKFi2bUvTxmXVMm xgEttelug3zPa+6tdCeDWHiQDKHeHDdeGDpZtrtrMeJGXi3I/z/5SMqA0thz85Hu2a1+ z18A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=tIwNNw0MIvdhB1T9U39nTb0nfPhroJFxVNqMIG21pzE=; b=GwiS3l/bBTfa1Uq1trFiN03NJ4FJHA+cYu75EuzlBAQQnszSA6VHPfo/u4J6CW3RoO yAStdMnPOjiaIx6ItY/i44fzM8rbZ0myqWNfWdcFoBaWsfwbM5wLfUFw5PHSbr78SSNr EzzCyMmZaxuaOQr4bgMAtVnhpoBDNyMj8bndPiw86AP68tmjOyUAU56XAEHumVnvKNPJ kStc49WI42Eb5x43Yrevo/rhySvZWcndKBrAXAfH9Wy9LLk44Wd2l0oTdyCD0iV9GTE4 QP3qBZO2FvZxt44qS3/qR75/Kz1iHiF/rPtpPI+5dIqGi5lTB+V6h1i16P3w9YkwVMWQ ENgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vV0nKqzm; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j13si342305pgi.233.2019.06.13.11.01.26; Thu, 13 Jun 2019 11:01:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vV0nKqzm; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727263AbfFMSAp (ORCPT + 99 others); Thu, 13 Jun 2019 14:00:45 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:46789 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727024AbfFMSAp (ORCPT ); Thu, 13 Jun 2019 14:00:45 -0400 Received: by mail-qt1-f193.google.com with SMTP id h21so23558262qtn.13 for ; Thu, 13 Jun 2019 11:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=tIwNNw0MIvdhB1T9U39nTb0nfPhroJFxVNqMIG21pzE=; b=vV0nKqzmyW0RtDuWUSVwttrkBEjWgDqYv+Wkpvy3texi45M5Ee+SK/bi27n5mNrHD0 VeUY1NVDy10pMMlWaymKr0O06Bvk4UenC/hZqCXqC4+Nj+PBBhmFeD3lON4Z3IZXMS9t R5/KVzclp9jRJSlBalzUkHP2DrwjmVgHdgVjDqd/AxnP4IuP66C+1FWpJ3nY/QBEoHvL 3XF3vb1C8lJqlMqWzzlEsuFifhvrbh76ZtvBdAyrRJGmDBOUyP2qciciLkC7AQCG64LF bG0/emVOKCJtQIohfWQh3KOvLh+gYmSQ3azF8VT+V34cPe6HK5RvNRCbp/ljpzYxhDiv ikeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=tIwNNw0MIvdhB1T9U39nTb0nfPhroJFxVNqMIG21pzE=; b=G2xrZaceAPhgoNikE67F7khRHWY0nQ+o2LCmCOBIHklVIPLPEII1JfxuIxIgQE/Ns8 /reVmq0mjsu+BJr9EpWXjfmx4XkYcDrJgLUdYrwMg9Z4Pr2TFapRUZmFCM8txZcbflGk cscfL8EsYHie/SS7wixbq/SVrbCNbQu1ZHDA2qKIu9mzXUSp1LkTM+NVnp7qavrqK2a/ AAxgfieLyVTPB9apojgdVt7OuQCSvQqWoUydxMYiz0EQB3ry3k/n2S7dNAY5h3iVfW4l MyeCyQF/i0jQ40PlHAqcIsmfFlbLFhjlLcVAPb8wnFahP5CeejZ7cUa8Koe7KGPC+B+f m8Ng== X-Gm-Message-State: APjAAAW6OPVQ9ifknib25K7fkehgF5cWPhi52K8a35Ru3LPkgj7ZHNAz og/jYFcGt2inlYtViOch9JVhL1CHnPyNxlU8H4pjqg== X-Received: by 2002:ac8:1a59:: with SMTP id q25mr75832939qtk.76.1560448844160; Thu, 13 Jun 2019 11:00:44 -0700 (PDT) MIME-Version: 1.0 From: Nathan Huckleberry Date: Thu, 13 Jun 2019 11:00:33 -0700 Message-ID: Subject: Cleanup of -Wunused-const-variable in drivers/net/wireless/ti/wl18xx/main.c To: eliad@wizery.com, kvalo@codeaurora.org, davem@davemloft.net Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org, clang-built-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hey all, I'm looking into cleaning up ignored warnings in the kernel so we can remove compiler flags to ignore warnings. There are two unused variables ('wl18xx_iface_ap_cl_limits' and 'wl18xx_iface_ap_go_limits') in drivers/net/wireless/ti/wl18xx/main.c. These appear to be limits when using p2p devices, yet they are never used. Wanted to reach out for the best course of action to fix the warning. https://github.com/ClangBuiltLinux/linux/issues/530 Thanks, Nathan Huckleberry