nilfs2: delete unnecessary condition in nilfs_dat_translate
authorJiro SEKIBA <jir@unicus.jp>
Fri, 5 Feb 2010 14:15:26 +0000 (23:15 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 13 Feb 2010 03:26:03 +0000 (12:26 +0900)
commit086d1764b22bb2d9d79bb8e2198927acf028d732
treec52f5319998362c208d3f764c2666935c5dfce21
parentfe5f171bb272946ce5fbf843ce2f8467d0d41b9a
nilfs2: delete unnecessary condition in nilfs_dat_translate

This is a trivial patch to delete unnecessary condition in nilfs_dat_translate.

nilfs_dat_translate() will asign translated address to *blocknrp if blocknrp
is not NULL.  However the condition is unneeded, because all callers of
nilfs_dat_translate() pass blocknrp properly.

Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/dat.c