From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508AbcLPRpd (ORCPT ); Fri, 16 Dec 2016 12:45:33 -0500 Received: from mx2.suse.de ([195.135.220.15]:44333 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334AbcLPRpZ (ORCPT ); Fri, 16 Dec 2016 12:45:25 -0500 Date: Fri, 16 Dec 2016 18:45:21 +0100 From: Jean Delvare To: LKML Cc: Peter Zijlstra , Jessica Yu , Rusty Russell Subject: [PATCH] module: Drop redundant declaration of struct module Message-ID: <20161216184521.20a979fb@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Struct module is already declared at the beginning of the file, no need to declare it again. Signed-off-by: Jean Delvare Fixes: 93c2e105f6bc ("module: Optimize __module_address() using a latched RB-tree") Cc: Peter Zijlstra (Intel) Cc: Jessica Yu Cc: Rusty Russell --- include/linux/module.h | 2 -- 1 file changed, 2 deletions(-) --- linux-4.9.orig/include/linux/module.h 2016-12-11 20:17:54.000000000 +0100 +++ linux-4.9/include/linux/module.h 2016-12-16 17:25:01.696622103 +0100 @@ -282,8 +282,6 @@ enum module_state { MODULE_STATE_UNFORMED, /* Still setting it up. */ }; -struct module; - struct mod_tree_node { struct module *mod; struct latch_tree_node node; -- Jean Delvare SUSE L3 Support