[PATCH] drivers/char/nvram.c: possible cleanups
This patch contains the following possible cleanups: - make the needlessly global function __nvram_set_checksum static - #if 0 the unused global function nvram_set_checksum - remove the EXPORT_SYMBOL's for both functions Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3b01b47cf9
commit
681ea4b930
2 changed files with 3 additions and 5 deletions
|
@ -20,8 +20,6 @@ extern void __nvram_write_byte(unsigned char c, int i);
|
|||
extern void nvram_write_byte(unsigned char c, int i);
|
||||
extern int __nvram_check_checksum(void);
|
||||
extern int nvram_check_checksum(void);
|
||||
extern void __nvram_set_checksum(void);
|
||||
extern void nvram_set_checksum(void);
|
||||
#endif
|
||||
|
||||
#endif /* _LINUX_NVRAM_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue