Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149555922
D25810.id74942.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25810.id74942.diff
View Options
Index: sys/geom/geom_map.c
===================================================================
--- sys/geom/geom_map.c
+++ sys/geom/geom_map.c
@@ -387,24 +387,11 @@
return (gp);
}
-static void
-g_map_config(struct gctl_req *req, struct g_class *mp, const char *verb)
-{
- struct g_geom *gp;
-
- g_topology_assert();
- gp = gctl_get_geom(req, mp, "geom");
- if (gp == NULL)
- return;
- gctl_error(req, "Unknown verb");
-}
-
static struct g_class g_map_class = {
.name = MAP_CLASS_NAME,
.version = G_VERSION,
.taste = g_map_taste,
.dumpconf = g_map_dumpconf,
- .ctlreq = g_map_config,
};
DECLARE_GEOM_CLASS(g_map_class, g_map);
MODULE_VERSION(geom_map, 0);
Index: sys/geom/geom_redboot.c
===================================================================
--- sys/geom/geom_redboot.c
+++ sys/geom/geom_redboot.c
@@ -336,24 +336,11 @@
return (gp);
}
-static void
-g_redboot_config(struct gctl_req *req, struct g_class *mp, const char *verb)
-{
- struct g_geom *gp;
-
- g_topology_assert();
- gp = gctl_get_geom(req, mp, "geom");
- if (gp == NULL)
- return;
- gctl_error(req, "Unknown verb");
-}
-
static struct g_class g_redboot_class = {
.name = REDBOOT_CLASS_NAME,
.version = G_VERSION,
.taste = g_redboot_taste,
.dumpconf = g_redboot_dumpconf,
- .ctlreq = g_redboot_config,
.ioctl = g_redboot_ioctl,
};
DECLARE_GEOM_CLASS(g_redboot_class, g_redboot);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 26, 5:58 AM (4 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30366778
Default Alt Text
D25810.id74942.diff (1 KB)
Attached To
Mode
D25810: geom_map and geom_redboot: Remove unused ctlreq handler.
Attached
Detach File
Event Timeline
Log In to Comment