LVM2/lib/format_text format-text.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-02-27 09:54:25
Modified files:
lib/format_text: format-text.c
Log message:
Remove test for pvid
Since pvid is char buffer[] and not pointer, there is no point to check it for NULL.
lib/format_text/format-text.c +0 -1
@@ -1676,7 +1676,6 @@*/ else {if (!pv->dev || - !pv->dev->pvid || !(info =lvmcache_info_from_pvid (pv->dev->pvid,0 ))) {log_error ("PV %s missing from cache" ,pv_dev_name (pv));return 0 ;