Print this page
seg_inherit_notsup is redundant since segop_inherit checks for NULL properly

@@ -78,11 +78,10 @@
 
 struct seg_ops segspt_ops = {
         .unmap          = segspt_unmap,
         .free           = segspt_free,
         .getpolicy      = segspt_getpolicy,
-        .inherit        = seg_inherit_notsup,
 };
 
 static int segspt_shmdup(struct seg *seg, struct seg *newseg);
 static int segspt_shmunmap(struct seg *seg, caddr_t raddr, size_t ssize);
 static void segspt_shmfree(struct seg *seg);

@@ -136,11 +135,10 @@
         .pagelock       = segspt_shmpagelock,
         .setpagesize    = segspt_shmsetpgsz,
         .getmemid       = segspt_shmgetmemid,
         .getpolicy      = segspt_shmgetpolicy,
         .capable        = segspt_shmcapable,
-        .inherit        = seg_inherit_notsup,
 };
 
 static void segspt_purge(struct seg *seg);
 static int segspt_reclaim(void *, caddr_t, size_t, struct page **,
                 enum seg_rw, int);