Skip to content

Commit 1351975

Browse files
Alexander Aringteigland
authored andcommitted
fs: dlm: don't init error value
This patch removes a init of an error value to -EINVAL which is not necessary. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David Teigland <[email protected]>
1 parent c852a6d commit 1351975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/dlm/lowcomms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ static const struct dlm_proto_ops dlm_sctp_ops = {
18301830

18311831
int dlm_lowcomms_start(void)
18321832
{
1833-
int error = -EINVAL;
1833+
int error;
18341834

18351835
init_local();
18361836
if (!dlm_local_count) {

0 commit comments

Comments
 (0)