Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0b8c03e4
Commit
0b8c03e4
authored
Oct 20, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[LLC]: Make LLC2 compile with PROC_FS=n
parent
3e472e4c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
30 deletions
+8
-30
include/net/llc.h
include/net/llc.h
+8
-0
include/net/llc_proc.h
include/net/llc_proc.h
+0
-18
net/llc/af_llc.c
net/llc/af_llc.c
+0
-1
net/llc/llc_proc.c
net/llc/llc_proc.c
+0
-11
No files found.
include/net/llc.h
View file @
0b8c03e4
...
...
@@ -88,4 +88,12 @@ extern int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb,
extern
int
llc_station_init
(
void
);
extern
void
llc_station_exit
(
void
);
#ifdef CONFIG_PROC_FS
extern
int
llc_proc_init
(
void
);
extern
void
llc_proc_exit
(
void
);
#else
#define llc_proc_init() (0)
#define llc_proc_exit() do { } while(0)
#endif
/* CONFIG_PROC_FS */
#endif
/* LLC_H */
include/net/llc_proc.h
deleted
100644 → 0
View file @
3e472e4c
#ifndef LLC_PROC_H
#define LLC_PROC_H
/*
* Copyright (c) 1997 by Procom Technology, Inc.
* 2002 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*
* This program can be redistributed or modified under the terms of the
* GNU General Public License as published by the Free Software Foundation.
* This program is distributed without any warranty or implied warranty
* of merchantability or fitness for a particular purpose.
*
* See the GNU General Public License for more details.
*/
extern
int
llc_proc_init
(
void
);
extern
void
llc_proc_exit
(
void
);
#endif
/* LLC_PROC_H */
net/llc/af_llc.c
View file @
0b8c03e4
...
...
@@ -30,7 +30,6 @@
#include <net/llc_sap.h>
#include <net/llc_pdu.h>
#include <net/llc_conn.h>
#include <net/llc_proc.h>
/* remember: uninitialized global data is zeroed because its in .bss */
static
u16
llc_ui_sap_last_autoport
=
LLC_SAP_DYN_START
;
...
...
net/llc/llc_proc.c
View file @
0b8c03e4
...
...
@@ -14,7 +14,6 @@
#include <linux/config.h>
#include <linux/init.h>
#ifdef CONFIG_PROC_FS
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/errno.h>
...
...
@@ -273,13 +272,3 @@ void llc_proc_exit(void)
remove_proc_entry
(
"core"
,
llc_proc_dir
);
remove_proc_entry
(
"llc"
,
proc_net
);
}
#else
/* CONFIG_PROC_FS */
int
__init
llc_proc_init
(
void
)
{
return
0
;
}
void
llc_proc_exit
(
void
)
{
}
#endif
/* CONFIG_PROC_FS */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment