Remove unused, non-modular procfs reference
fs/procfs/fs_procfs.c contained an unused reference to an STM32 procfs structure. This is wrong in two ways: (1) There should be not STM32 references outside of arch/arm and boards/arm and (2) the declare STM32 structure is not used anyway.
This commit is contained in:
parent
f2af90d1bd
commit
e880bc9a71
@ -83,15 +83,6 @@ extern const struct procfs_operations part_procfsoperations;
|
|||||||
extern const struct procfs_operations mount_procfsoperations;
|
extern const struct procfs_operations mount_procfsoperations;
|
||||||
extern const struct procfs_operations smartfs_procfsoperations;
|
extern const struct procfs_operations smartfs_procfsoperations;
|
||||||
|
|
||||||
/* And even worse, this one is specific to the STM32. The solution to
|
|
||||||
* this nasty couple would be to replace this hard-coded, ROM-able
|
|
||||||
* operations table with a RAM-base registration table.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined(CONFIG_STM32_CCM_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_CCM)
|
|
||||||
extern const struct procfs_operations ccm_procfsoperations;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Types
|
* Private Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user