Marin Ramesa, le Thu 05 Dec 2013 22:03:03 +0100, a écrit : > Function block_io_mmap() is never a dev op, therefore it is > unused and it can be written again easily if needed.
> - if (device->dev_ops->d_mmap == block_io_mmap) { > - d->type = DEV_PAGER_TYPE; > - } else { > - d->type = CHAR_PAGER_TYPE; > - } > + d->type = CHAR_PAGER_TYPE; Well, since it's used in some logic, it does make sense to keep it. At least the logic should be kept anyway. Samuel