diff options
author | Denis Vlasenko | 2008-11-06 02:32:31 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-11-06 02:32:31 +0000 |
commit | fc66892abdd0934b6cb81571882f46a21488337a (patch) | |
tree | 506c5dbbcf94632dfe7bdc64dd4c97752a6a51ac /modutils | |
parent | 35a064b67fc1954b95be06499a514a45c9f2e814 (diff) | |
download | busybox-fc66892abdd0934b6cb81571882f46a21488337a.zip busybox-fc66892abdd0934b6cb81571882f46a21488337a.tar.gz |
*: remove superfluous casts. no code changes
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/depmod.c | 2 | ||||
-rw-r--r-- | modutils/modutils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index 5b9e9e8..a4474d5 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c @@ -50,7 +50,7 @@ static int FAST_FUNC parse_module(const char *fname, struct stat *sb, if (strrstr(fname, ".ko") == NULL) return TRUE; - image = (char *) xmalloc_open_zipped_read_close(fname, &len); + image = xmalloc_open_zipped_read_close(fname, &len); info = xzalloc(sizeof(module_info)); info->next = *first; diff --git a/modutils/modutils.c b/modutils/modutils.c index 10b49c9..0d7d72d 100644 --- a/modutils/modutils.c +++ b/modutils/modutils.c @@ -123,7 +123,7 @@ int FAST_FUNC bb_init_module(const char *filename, const char *options) #endif /* Use the 2.6 way */ - image = (char *) xmalloc_open_zipped_read_close(filename, &len); + image = xmalloc_open_zipped_read_close(filename, &len); if (image) { if (init_module(image, len, options) != 0) rc = errno; |