diff options
Diffstat (limited to 'common/stdio.c')
-rw-r--r-- | common/stdio.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/common/stdio.c b/common/stdio.c index 2b883fddbea..acc65ada1b1 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -261,17 +261,6 @@ int stdio_deregister_dev(struct stdio_dev *dev, int force) return 0; } -int stdio_deregister(const char *devname, int force) -{ - struct stdio_dev *dev; - - dev = stdio_get_by_name(devname); - if (!dev) /* device not found */ - return -ENODEV; - - return stdio_deregister_dev(dev, force); -} - int stdio_init_tables(void) { #if defined(CONFIG_NEEDS_MANUAL_RELOC) |