[PATCH v2 0/2] drop duplicate max/min definitions