Skip to content

Commit

Permalink
Remove no longer relevant TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbaur committed Dec 6, 2024
1 parent 58179d7 commit 633f4ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/tboot-nixos-install.zig
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ fn installGeneration(

try known_files.put(full_linux_path, {});

// TODO(jared): NixOS always has an initrd, but we should still
// handle the case where it does not exist.
const initrd_target = b: {
if (spec.initrd) |initrd| {
const initrd_target_filename = try std.fmt.allocPrint(
Expand Down
4 changes: 2 additions & 2 deletions src/watch.zig
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ pub fn scanAndCreateExistingDevicesForSubsystem(
var iter = subsystem_dir.iterate();

while (try iter.next()) |entry| {
// TODO(jared): Do we have any reason to believe all the files
// won't be symlinks?
// We expect all files in every directory under /sys/class to be a
// symlink.
if (entry.kind != .sym_link) {
continue;
}
Expand Down

0 comments on commit 633f4ee

Please sign in to comment.