This can no longer be called. The only place which was still
calling it for 4.14 and later was ssd_update_smart(), and it was
not updating any statistics used there anyhow, so there's no need
to replace the call with anything else.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
smart->io_stat.run_time += run_time;
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0))
cpu = part_stat_lock();
part = &dev->gd->part0;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0))
part_round_stats(cpu, part);
#endif
part_stat_unlock();
+#endif
smart->io_stat.nr_read += part_stat_read(part, ios[READ]);
smart->io_stat.nr_write += part_stat_read(part, ios[WRITE]);