usb: use %*pb[l] to print bitmaps including cpumasks and nodemasks
[firefly-linux-kernel-4.4.55.git] / drivers / uwb / drp.c
index 05b7bd7622549ec1693d2c248cc45c2b6c8ca444..8fc1b787dceddd333b6c98cb99a4ea95fa81ec08 100644 (file)
@@ -619,11 +619,9 @@ static void uwb_drp_handle_alien_drp(struct uwb_rc *rc, struct uwb_ie_drp *drp_i
        struct device *dev = &rc->uwb_dev.dev;
        struct uwb_mas_bm mas;
        struct uwb_cnflt_alien *cnflt;
-       char buf[72];
        unsigned long delay_us = UWB_MAS_LENGTH_US * UWB_MAS_PER_ZONE;
 
        uwb_drp_ie_to_bm(&mas, drp_ie);
-       bitmap_scnprintf(buf, sizeof(buf), mas.bm, UWB_NUM_MAS);
 
        list_for_each_entry(cnflt, &rc->cnflt_alien_list, rc_node) {
                if (bitmap_equal(cnflt->mas.bm, mas.bm, UWB_NUM_MAS)) {