On Fri, Jun 04, 2021 at 07:58:51PM +0000, Satya Tangirala wrote: > This function checks if a given keyslot manager supports any encryption > mode/data unit size combination (and returns true if there is no such > supported combination). Helps clean up code a little. > > Signed-off-by: Satya Tangirala <satyat@xxxxxxxxxx> > --- > block/keyslot-manager.c | 21 +++++++++++++++++++++ > drivers/md/dm-table.c | 11 +---------- > include/linux/keyslot-manager.h | 2 ++ > 3 files changed, 24 insertions(+), 10 deletions(-) Reviewed-by: Eric Biggers <ebiggers@xxxxxxxxxx>