*: remove superfluous casts. no code changes

This commit is contained in:
Denis Vlasenko
2008-11-06 02:32:31 +00:00
parent 35a064b67f
commit fc66892abd
3 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;