From patchwork Sat Oct 17 10:32:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 7422021 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@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 244C0BEEA4 for ; Sat, 17 Oct 2015 10:33:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5828220614 for ; Sat, 17 Oct 2015 10:33:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8CAC420619 for ; Sat, 17 Oct 2015 10:33:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752392AbbJQKdh (ORCPT ); Sat, 17 Oct 2015 06:33:37 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:37011 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752011AbbJQKdW (ORCPT ); Sat, 17 Oct 2015 06:33:22 -0400 Received: by wicfv8 with SMTP id fv8so20383428wic.0 for ; Sat, 17 Oct 2015 03:33:21 -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:in-reply-to:references; bh=SynR+BMOwB5dQhhTw1PQ0kC1wgK/Mt97WPXk4H/bNL8=; b=kpVbXMYyZ7dysDbARHW9bsle2z2bHFagqfqQN2BamOW+8C1IVz6FbH4ZathZpguOFl DE8uLIoyGZEbekPnWdyX8MZawqjjbiBGWS0SgvLt87JBCkB6GeFoHKI+pSs+q9tz1Cg6 ZW455+795NMNAS8Ux9ySGyYzzsejjiGET2JO0qmH2UTbC64gx56o+nGfY5m+pnHd7wE8 2GWZdXElG4orr3QGZ3Auj28V5tMbfrFKypdJyZHSli3zr8XQq32vxUAHTam+Ik+ecyvj U9KrdTag/ITlzd8s8IM1NUt6FlK1jHveujTtDjv4QdEcTtIsnUXpYDhfHlEVKrhP4T9F qEYQ== X-Received: by 10.180.39.193 with SMTP id r1mr9622261wik.57.1445078001617; Sat, 17 Oct 2015 03:33:21 -0700 (PDT) Received: from tipsey.3.home (188.30.104.3.threembb.co.uk. [188.30.104.3]) by smtp.gmail.com with ESMTPSA id fz2sm6645803wic.2.2015.10.17.03.33.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 17 Oct 2015 03:33:21 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 4/9] staging: vt6655: device.h remove typedef enum Date: Sat, 17 Oct 2015 11:32:57 +0100 Message-Id: <1445077982-17832-4-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1445077982-17832-1-git-send-email-tvboxspy@gmail.com> References: <1445077982-17832-1-git-send-email-tvboxspy@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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 Covert values to macros. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6655/device.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index be6c42b..83bb68b 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -98,10 +98,8 @@ #define PK_TYPE_11GB 2 #define PK_TYPE_11GA 3 -typedef enum { - OWNED_BY_HOST = 0, - OWNED_BY_NIC = 1 -} DEVICE_OWNER_TYPE, *PDEVICE_OWNER_TYPE; +#define OWNED_BY_HOST 0 +#define OWNED_BY_NIC 1 typedef struct __device_opt { int nRxDescs0; /* Number of RX descriptors0 */