[ovs-dev] [PATCH] ofproto: Use shash_find_and_delete() in ofport_destroy__().

2017-05-26 Thread Ben Pfaff
This is shorter and slightly safer than combining calls to shash_find() and shash_delete(). Found by Coverity. Reported-at: https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762983&defectInstanceId=4305289&mergedDefectId=179850 Signed-off-by: Ben Pfaff --- ofproto/ofproto.c

Re: [ovs-dev] [PATCH] ofproto: Use shash_find_and_delete() in ofport_destroy__().

2017-05-26 Thread Ben Pfaff
On Fri, May 26, 2017 at 10:50:52PM -0700, Ben Pfaff wrote: > This is shorter and slightly safer than combining calls to shash_find() > and shash_delete(). > > Found by Coverity. > > Reported-at: > https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762983&defectInstanceId=43052