]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/swap.c
swap: remove if/else with the same data path
authorStefan Beller <stefanbeller@googlemail.com>
Fri, 3 Jan 2014 19:33:20 +0000 (20:33 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Jan 2014 05:43:22 +0000 (00:43 -0500)
commit7bb01eff62aa7b612e33fe0e512a4d97862050c4
treea0a41b132321c8be3fc630ab8e2aaae0c1762036
parent4cf8496d0a5e85ec7610d166c5d35df3e6d02d1a
swap: remove if/else with the same data path

This was introduced in e1770af812 (2012-02-03, swap: replace failure
boolean by result enum).

This just removes unneeded lines of code, no functional change.
src/core/swap.c