diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -808,13 +808,6 @@ return(RF_ALIGNMENT_LOG2(i)); } -void -rman_set_start(struct resource *r, rman_res_t start) -{ - - r->__r_i->r_start = start; -} - rman_res_t rman_get_start(struct resource *r) { @@ -822,13 +815,6 @@ return (r->__r_i->r_start); } -void -rman_set_end(struct resource *r, rman_res_t end) -{ - - r->__r_i->r_end = end; -} - rman_res_t rman_get_end(struct resource *r) { diff --git a/sys/sys/rman.h b/sys/sys/rman.h --- a/sys/sys/rman.h +++ b/sys/sys/rman.h @@ -153,11 +153,9 @@ void rman_set_bushandle(struct resource *_r, bus_space_handle_t _h); void rman_set_bustag(struct resource *_r, bus_space_tag_t _t); void rman_set_device(struct resource *_r, device_t _dev); -void rman_set_end(struct resource *_r, rman_res_t _end); void rman_set_irq_cookie(struct resource *_r, void *_c); void rman_set_mapping(struct resource *, struct resource_map *); void rman_set_rid(struct resource *_r, int _rid); -void rman_set_start(struct resource *_r, rman_res_t _start); void rman_set_virtual(struct resource *_r, void *_v); extern struct rman_head rman_head;