axfs_get_onmedia_super() - redundant code reported by Phillip, need to investigate
Bernhard Reutner-Fischer made this comment on 8/22/08:
> + goto out;
> >+ /* If no block or MTD device, adjust mmapable to cover all image */
> >+ if (AXFS_NODEV(sb))
> >+ sbi->mmap_size = sbi->size;
> >+ err = axfs_fill_region_descriptors(sb, sbo);
[as already mentioned the clipped snippet here is unneeded]
> >+ kfree(sbo);
> >+ return err;
Err is implied to remain zero through the function, and that last if() comes right before the out: it jumps to.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.