xen/blkfront: remove unused macros
Subsystems (3)
Juergen Gross
maintainerPATCH 1/1 xen/blkfront: remove unused macros
Remove some macros not used anywhere.
Signed-off-by Juergen Gross <[email protected]>
--- drivers/block/xen-blkfront.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/block/xen-blkfront.c +0 -5
@@ -251,14 +251,9 @@ static DEFINE_SPINLOCK(minor_lock);#define GRANTS_PER_INDIRECT_FRAME \ (XEN_PAGE_SIZE / sizeof(struct blkif_request_segment)) -#define PSEGS_PER_INDIRECT_FRAME \ - (GRANTS_INDIRECT_FRAME / GRANTS_PSEGS) -#define INDIRECT_GREFS (_grants) \ DIV_ROUND_UP(_grants, GRANTS_PER_INDIRECT_FRAME) -#define GREFS (_psegs) ((_psegs) * GRANTS_PER_PSEG) -static int blkfront_setup_indirect (struct blkfront_ring_info *rinfo);static void blkfront_gather_backend_features (struct blkfront_info *info);static int negotiate_mq (struct blkfront_info *info);
Signature · 1 line
2.13.7
Quoted 3 lines · Juergen Gross
Remove some macros not used anywhere.
Signed-off-by Juergen Gross <[email protected]>
Acked-by Roger Pau Monné <[email protected]>
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 3 lines · Juergen Gross
Remove some macros not used anywhere.
Signed-off-by Juergen Gross <[email protected]>
Acked-by Roger Pau Monné <[email protected]>
Thanks, Roger.
Quoted 1 line · Juergen Gross
Remove some macros not used anywhere.
Applied, thanks.
Signature · 1 line
Jens Axboe
Quoted 1 line · Juergen Gross
Remove some macros not used anywhere.
Applied, thanks.
Signature · 7 lines
Jens Axboe _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel