*: remove superfluous casts. no code changes
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user