Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751423AbdIPQjg (ORCPT ); Sat, 16 Sep 2017 12:39:36 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33669 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751231AbdIPQjf (ORCPT ); Sat, 16 Sep 2017 12:39:35 -0400 X-Google-Smtp-Source: AOwi7QCgM2VoW0SFOkeSCG1DFIB08XURkZS26c+UbaMQ0Ui5lXmEoX7FyOR1/NEX0Y+q4ZQELiqmFQ== From: Srishti Sharma To: lidza.louina@gmail.com Cc: markh@compro.net, gregkh@linuxfoundation.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, Srishti Sharma Subject: [PATCH v2 2/2] Staging: dgnc: Remove unused fields in struct channel_t Date: Sat, 16 Sep 2017 22:09:29 +0530 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1070 Lines: 37 Eliminate the fields that are not used and the comments associated with them. Signed-off-by: Srishti Sharma --- Changes in v2: - Use the word field instead of variable. drivers/staging/dgnc/dgnc_driver.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index 5d2566e..082d659 100644 --- a/drivers/staging/dgnc/dgnc_driver.h +++ b/drivers/staging/dgnc/dgnc_driver.h @@ -312,8 +312,6 @@ struct un_t { * @ch_err_overrun: Count of overruns on channel. * @ch_xon_sends: Count of xons transmitted. * @ch_xoff_sends: Count of xoffs transmitted. - * @proc_entry_pointer: Proc// entry. - * @dgnc_channel_table: Proc// entry. */ struct channel_t { struct dgnc_board *ch_bd; @@ -382,10 +380,6 @@ struct channel_t { ulong ch_xon_sends; ulong ch_xoff_sends; - - struct proc_dir_entry *proc_entry_pointer; - struct dgnc_proc_entry *dgnc_channel_table; - }; extern uint dgnc_major; /* Our driver/mgmt major */ -- 2.7.4