From e880bc9a71d56ccefe705d44e1dd2d1090df52f9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 22 Aug 2020 08:22:46 -0600 Subject: [PATCH] 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. --- fs/procfs/fs_procfs.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fs/procfs/fs_procfs.c b/fs/procfs/fs_procfs.c index da63312ac48..0c227b5df6e 100644 --- a/fs/procfs/fs_procfs.c +++ b/fs/procfs/fs_procfs.c @@ -83,15 +83,6 @@ extern const struct procfs_operations part_procfsoperations; extern const struct procfs_operations mount_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 ****************************************************************************/