[PATCH 1/4] New function to avoid duplicate code in upcomming commits
From: Werner Sembach
Date: Mon May 03 2021 - 14:22:06 EST
Moves some checks that later will be performed 2 times to an own fuction. This
avoids duplicate code later on.
Signed-off-by: Werner Sembach <wse@xxxxxxxxxxxxxxxxxxx>
---