From patchwork Thu Sep 3 18:21:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 7118431 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6CE9CBEEC1 for ; Thu, 3 Sep 2015 18:21:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD26D20791 for ; Thu, 3 Sep 2015 18:21:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBE992078D for ; Thu, 3 Sep 2015 18:21:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932570AbbICSVr (ORCPT ); Thu, 3 Sep 2015 14:21:47 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:34005 "EHLO mail-yk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932473AbbICSVp (ORCPT ); Thu, 3 Sep 2015 14:21:45 -0400 Received: by ykdg206 with SMTP id g206so52140881ykd.1 for ; Thu, 03 Sep 2015 11:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ct7KtmiKpyZKx407EgzeYDcPRG2uRm6tqwmG2fAqnEM=; b=0IQo0962glRiusRuu/3uvN9YANAy4V0+987Z89b/AxF4f0u70eVSJxjynyVVmackCj gVa/KmrZFOOjNud0LCUn0UGVThzvV8J1bPtorxcQf8e+OZyepXx0xZq12hhSPZ1O4wqd ofbTSIzre39XXfIH4G88RLUTmTVUFlVHyJJ0AGYq9bJSf2m2LW4rA+OLV4hFo5edwU5m WHhWJ6AyNwa8Bo9nlDTQLlrGfqZa9NMQMS9WvIbjkgyw3tdh8KqP0G3de2wRrPxXW4Nn Tf5qBwIV3nutQoE1XZraBzBNwularDUWuHYBUTy4UB/QjfyGKd0bZK7+Mw5aPfUpllky TGqg== X-Received: by 10.13.216.212 with SMTP id a203mr27952002ywe.109.1441304505167; Thu, 03 Sep 2015 11:21:45 -0700 (PDT) Received: from localhost.localdomain ([187.64.235.43]) by smtp.gmail.com with ESMTPSA id n62sm13710524ywc.38.2015.09.03.11.21.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Sep 2015 11:21:44 -0700 (PDT) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: horia.geanta@freescale.com, vicki.milhoan@freescale.com, linux-crypto@vger.kernel.org, Fabio Estevam Subject: [PATCH] caam: desc: Remove unused JUMP_TYPE_MASK definition Date: Thu, 3 Sep 2015 15:21:29 -0300 Message-Id: <1441304489-21738-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam JUMP_TYPE_MASK is defined in desc.h and it is never used, so we can safely remove it to avoid the following build warning: In file included from drivers/crypto/caam/desc_constr.h:7:0, from drivers/crypto/caam/ctrl.c:15: drivers/crypto/caam/desc.h:1495:0: warning: "JUMP_TYPE_MASK" redefined #define JUMP_TYPE_MASK (0x03 << JUMP_TYPE_SHIFT) ^ In file included from include/linux/module.h:19:0, from drivers/crypto/caam/compat.h:9, from drivers/crypto/caam/ctrl.c:11: include/linux/jump_label.h:131:0: note: this is the location of the previous definition #define JUMP_TYPE_MASK 1UL Reported-by: Olof's autobuilder Signed-off-by: Fabio Estevam Reviewed-by: Horia Geant? --- drivers/crypto/caam/desc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h index 983d663..1e93c6a 100644 --- a/drivers/crypto/caam/desc.h +++ b/drivers/crypto/caam/desc.h @@ -1492,7 +1492,6 @@ struct sec4_sg_entry { #define JUMP_JSL (1 << JUMP_JSL_SHIFT) #define JUMP_TYPE_SHIFT 22 -#define JUMP_TYPE_MASK (0x03 << JUMP_TYPE_SHIFT) #define JUMP_TYPE_LOCAL (0x00 << JUMP_TYPE_SHIFT) #define JUMP_TYPE_NONLOCAL (0x01 << JUMP_TYPE_SHIFT) #define JUMP_TYPE_HALT (0x02 << JUMP_TYPE_SHIFT)