From 07b96937cf444939768760220dda1e1f2c3dfafc Mon Sep 17 00:00:00 2001 From: Lidza Louina Date: Thu, 22 Aug 2013 21:35:19 -0400 Subject: [PATCH] staging: dgap: removes mgmt.h This patch removes mgmt.h and the headers that include it of files in dgap. This file isn't needed for the driver to work with the kernel. Signed-off-by: Lidza Louina Signed-off-by: Greg Kroah-Hartman --- drivers/staging/dgap/dgap_driver.c | 1 - drivers/staging/dgap/dgap_fep5.c | 1 - drivers/staging/dgap/dgap_mgmt.h | 33 ------------------------------ drivers/staging/dgap/dgap_proc.c | 1 - drivers/staging/dgap/dgap_sysfs.c | 1 - 5 files changed, 37 deletions(-) delete mode 100644 drivers/staging/dgap/dgap_mgmt.h diff --git a/drivers/staging/dgap/dgap_driver.c b/drivers/staging/dgap/dgap_driver.c index ed56d02e11df..8e8c1e3ec96a 100644 --- a/drivers/staging/dgap/dgap_driver.c +++ b/drivers/staging/dgap/dgap_driver.c @@ -49,7 +49,6 @@ #include "dgap_tty.h" #include "dgap_conf.h" #include "dgap_parse.h" -#include "dgap_mgmt.h" #include "dgap_trace.h" #include "dgap_sysfs.h" diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c index 2bbbcd3c398e..45b0f28a202a 100644 --- a/drivers/staging/dgap/dgap_fep5.c +++ b/drivers/staging/dgap/dgap_fep5.c @@ -51,7 +51,6 @@ #include "dgap_tty.h" #include "dgap_conf.h" #include "dgap_parse.h" -#include "dgap_mgmt.h" #include "dgap_trace.h" /* diff --git a/drivers/staging/dgap/dgap_mgmt.h b/drivers/staging/dgap/dgap_mgmt.h deleted file mode 100644 index 4b153f2dd7f2..000000000000 --- a/drivers/staging/dgap/dgap_mgmt.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2003 Digi International (www.digi.com) - * Scott H Kilau - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the - * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * NOTE: THIS IS A SHARED HEADER. DO NOT CHANGE CODING STYLE!!! - */ - -#ifndef __DGAP_MGMT_H -#define __DGAP_MGMT_H - -#define MGMT_MGMT 0 -#define MGMT_DOWNLD 1 - -int dgap_mgmt_open(struct inode *inode, struct file *file); -int dgap_mgmt_close(struct inode *inode, struct file *file); -long dgap_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg); - -#endif - diff --git a/drivers/staging/dgap/dgap_proc.c b/drivers/staging/dgap/dgap_proc.c index 6950a6c9b87d..8c46b2484823 100644 --- a/drivers/staging/dgap/dgap_proc.c +++ b/drivers/staging/dgap/dgap_proc.c @@ -46,7 +46,6 @@ #include "dgap_driver.h" #include "dgap_proc.h" -#include "dgap_mgmt.h" #include "dgap_conf.h" #include "dgap_parse.h" #include "dgap_fep5.h" diff --git a/drivers/staging/dgap/dgap_sysfs.c b/drivers/staging/dgap/dgap_sysfs.c index 6f98ac624830..a35c8ed69eff 100644 --- a/drivers/staging/dgap/dgap_sysfs.c +++ b/drivers/staging/dgap/dgap_sysfs.c @@ -45,7 +45,6 @@ #include "dgap_driver.h" #include "dgap_proc.h" -#include "dgap_mgmt.h" #include "dgap_conf.h" #include "dgap_parse.h" -- 2.34.1