b65eb10c4d
The API which is used to list supported hash flags verifies hash algorithm choice before writing the output. This check is based on a switch() statement which has only two options and no distinctive actions to be conducted for each of them. Use simpler code instead of switch() to improve readability. Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2006-2018 Solarflare Communications Inc. All rights reserved. Solarflare libefx driver library ================================ This directory contains source code of Solarflare Communications libefx driver library of version v4.10.0.1012. Updating ======== The source code in this directory should not be modified. Please contact the driver maintainers to request changes.