Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[sfrench/cifs-2.6.git] / drivers / infiniband / hw / qib / qib_verbs.c
index b0b78e1cec9282dcf95bcccdd88e13fb1d4dfb69..6b56f1c01a0789f9335691f57535947df4afa2a9 100644 (file)
@@ -1220,6 +1220,7 @@ static int qib_query_port(struct rvt_dev_info *rdi, u8 port_num,
        enum ib_mtu mtu;
        u16 lid = ppd->lid;
 
+       /* props being zeroed by the caller, avoid zeroing it here */
        props->lid = lid ? lid : be16_to_cpu(IB_LID_PERMISSIVE);
        props->lmc = ppd->lmc;
        props->state = dd->f_iblink_state(ppd->lastibcstat);